package com.wh.influxdb.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author gepengjun
 * @since 2024/4/24 13:45
 */
@Component
@Data
@ConfigurationProperties(prefix = "spring.influxdb")
public class InfluxdbProperties {
    /**
     * 连接地址
     */
    private String url;
    /**
     * token
     */
    private String token;
    /**
     * 数据库
     */
    private String bucket;
    /**
     * 数据库
     */
    private String org;

}
